﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AllMembers.aspx.vb" Inherits="prototype.AllMembers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
    .style1
    {
        font-size: xx-large;
        color: #999999;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        &nbsp;</p>
<p>
        &nbsp;<span class="style1"><strong style="color: #333333">List of Real Madrid Fan&#39;s !</strong></span></p>
<p>
        &nbsp;</p>
<p>
        <br />
    </p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            CellPadding="4" DataSourceID="SqlDataSource1" ForeColor="#333333" 
            GridLines="None" Width="841px">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:ImageField DataImageUrlField="picture" HeaderText="Member Picture">
                    <ControlStyle Height="150px" Width="150px" />
                </asp:ImageField>
                <asp:HyperLinkField DataNavigateUrlFields="UserID" 
                    DataNavigateUrlFormatString="myprofile.aspx?UserID={0}" 
                    DataTextField="firstname" HeaderText="First Name" />
                <asp:BoundField DataField="lastname" HeaderText="Last Name" 
                    SortExpression="lastname" />
                <asp:BoundField DataField="dateofbirth" HeaderText="D.O.B" 
                    SortExpression="dateofbirth" />
                <asp:BoundField DataField="registrationdate" HeaderText="Registration Date" 
                    SortExpression="registrationdate" />
                <asp:BoundField DataField="gender" HeaderText="Gender" 
                    SortExpression="gender" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:PlayersConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:PlayersConnectionString.ProviderName %>" 
            SelectCommand="SELECT * FROM [Userprofile]"></asp:SqlDataSource>
    </p>
    <p>
    </p>
</asp:Content>
